Next.js isn't React

Поделиться
HTML-код
  • Опубликовано: 14 сен 2023
  • ⭐ Ultimate Next 14 Course: www.jsmastery.pro/next14
    While you're waiting for the course launch, watch:
    🎥 Next.js 14 Crash Course: • Next.js 14 Full Course...
    🎥 Next.js 14 Threads Clone: • Build and Deploy a Ful...
    💼 New Masterclass Cohort starts soon! Land your dream job in a project-based bootcamp with expert mentor feedback, code reviews, and career prep. To find out more, apply here: jsmastery.pro/masterclass
    💻 Join our Discord Community - / discord
    🐦 Follow us on Twitter: / jsmasterypro
    🖼 Follow us on Instagram: / javascriptmastery
    💼 Business Inquiries: contact@jsmastery.pro

Комментарии • 490

  • @king-manu2758
    @king-manu2758 8 месяцев назад +61

    Almost 2 years working as a web dev directly thanks to Adrian. Super happy for your success man. Cheers for much more,

  • @theazimjon
    @theazimjon 8 месяцев назад +109

    Many years ago when react comes out you guys said about how great client rendering like using less resources, etc. We are getting back to php way

    • @Alex-kb2ws
      @Alex-kb2ws 8 месяцев назад

      With pages directory you can still write client side applications that are just publishable as a static app, but with the added benefits of file based routing, bundle splitting, preconfigured env, dehydrated html files for each page.

    • @prembikram1652
      @prembikram1652 8 месяцев назад +2

      crypto bros like "tech bros"

    • @5uryaprakashPi
      @5uryaprakashPi 5 месяцев назад

      Cough cough 😷

    • @shehanabid
      @shehanabid 3 месяца назад +5

      Exactly. Forget about PC even mobile devices have like 8 GB ram minimum nowadays, so apart from benfitting SEO I don't get why you'd use server side rendering especially considering that nowadays people are using Cloud like AWS which has pay-per-use method where doing things on server side will cost you more when there is a perfectly feesible client machine available. Also that SEO thing only works for marketing/portfolio sites. you don't do SEO for rest of the project like portals which requires login anyways. And I also don't get why'd you overkill/over-engineer by creating a marketing/portolio type of static/semi-static site with react/next in the first place when there are tons of better and easier options available.

  • @mdmaaz8024
    @mdmaaz8024 8 месяцев назад +17

    Yes we need that video,and thanks for clarifying the concept ❤️

  • @CryptoMarketCourse
    @CryptoMarketCourse 8 месяцев назад +24

    I have learned so much from you Brother. Your the best Teacher online. Thank you so much.

  • @mariuki97
    @mariuki97 8 месяцев назад +69

    Man keep going. You and your team are my reference. I recommend your channel to everyone around me. I tell them you're the god of good practices 😂. This channel is building my career so thank you and the team for that. I'm broke atm but once i get enough money i'll for sure buy the next course. Idk how much will it cost but any price is a good price after all you've done in here.

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +10

      Thank you so much for your support!

    • @sameerswankar
      @sameerswankar 6 месяцев назад

      I dont have much idea about nextjs from whatever ive heard in this video, ive doubt. When server executes the javascript code all the load is on the server, but the output has to be sent to the client right ? If yes, then which process is more easier with slow internet, 1. To get the javascript and execute it on the client OR 2. to get the executed js code. Wudnt the executed js code require more data ?

    • @Mattot-qi9qr
      @Mattot-qi9qr 4 месяца назад

      ​@@sameerswankar back to the basic man, read again why we have servee. And why we dont just run thewhole chatgpt in your laptop, instead of running on the server? Whatdo you think will happen if u do that?

    • @Mattot-qi9qr
      @Mattot-qi9qr 4 месяца назад

      ​@@sameerswankarplease read on how server client works. Seems like you only understand fromtend thingy.

  • @igornorado
    @igornorado 8 месяцев назад +6

    I hate how people constantly dismiss arguments with arrogant or sarcastic comments (many times they don't even know what they're talking about).
    Some of the comments you replied to reminded me why I don't like following developers on Twitter or other social platforms.
    Great video, thanks for the explanation and looking forward to the new course!

  • @IcTxDiogo-
    @IcTxDiogo- 8 месяцев назад

    This video is exactly what I've been thinking to myself for the last 5 months, and i can't understand how there are people who think nextjs is useless, how send less js to client is useless ? thaks for this video!

  • @user-mx4ed6mb4j
    @user-mx4ed6mb4j 5 месяцев назад

    Thank you so much for the great explanation! This video really helps me understand the difference between react and next js

  • @salmanpatrick
    @salmanpatrick 8 месяцев назад +31

    Moral of the story, if you can't use client side things directly inside the server components then make a separate component for them and just render them into the server side components and pass the data as the props whatever you want.
    Tysm for such a valuable info. Luckily I'm working on a huge Real Estate Project in Next JS and it would be really helpful.

  • @thymarques
    @thymarques 8 месяцев назад +10

    It is a complex topic, because in a case which there are millions of requests, it is gonna reduce the performance of the server. So, even in client mode, we can use the browser and client memory and cpu, and the internet actually is so fast, we can download the whole bundle so fast, but I still think nextjs and the balance between client and server components are the key.

  • @nursesplus7481
    @nursesplus7481 8 месяцев назад +1

    Youre doing great job boss Arian. Thank you so much for effort.

  • @mikeonochie7548
    @mikeonochie7548 8 месяцев назад +12

    I haven't commented inna while but this is great stuff Arian. I truly appreciate ur efforts to keep us all up to date with the latest trends and topics especially in the web dev community.👍

  • @abdourahman87
    @abdourahman87 8 месяцев назад +1

    Yes we’d be glad to have that video Adrian 😊. I’m getting the concept and uses of server components now thanks to your videos

  • @NaderEzzat-jl4el
    @NaderEzzat-jl4el 8 месяцев назад +6

    I am actually working on a project wich will include 2 forms and I have developed one of them until now using client side rendering but as soon as I open my laptop and the code , I will change my code's structure to be using server side rendering. Really beneficial video.

  • @hmmmok763
    @hmmmok763 8 месяцев назад +3

    This video really helps me understand the difference between react and nextjs also the purpose of server components. 👌👌

  • @ShahinHemat
    @ShahinHemat 8 месяцев назад +2

    You are absolutely amazing - thank you for the great explanation!
    And yes, it would be awesome to get insights into how your team thought when building your website with Next!

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +1

      I just published it 30 minutes ago! :)

    • @ShahinHemat
      @ShahinHemat 8 месяцев назад

      @@javascriptmasteryjust watched it. Man, you and your team have truly mastered the art of delivering VALUE in everything that you do. I will soon become a customer. I’m at a place where I’ve gotten so much value from your content that I WANT you to have my money😅 Doesn’t feel right getting all this for free. A true team of service. Inspiring - grateful!

  • @hawarhekmat1174
    @hawarhekmat1174 8 месяцев назад +143

    YES, We all can agree that NextJS is the future of web development, and don't forget about server actions when it becomes stable a lot will change about react and next :)

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +16

      Exactly!!! And we already use them in our code

    • @kizigamer6895
      @kizigamer6895 8 месяцев назад +2

      I have a doubt then what is difference in Astro and Nextjs features
      As I see what the things you mentioned today in the video are already stable features in Astro
      I am confused should I choose Astro or Nextjs
      Can u pls clarify

    • @hawarhekmat1174
      @hawarhekmat1174 8 месяцев назад

      the word "stable" doesn't mean that you can not use server actions, you can absolutely use it, but the way you handle errors are form status is a bit hard, you can handle errors with redirect function, a lot of big companies And developers use NextJS and I will recommend that, but at the end it's you who decides which one is good for your use case. I will say do your research and pick one.

    • @PwrXenon
      @PwrXenon 8 месяцев назад +11

      JavaScript on the backend was a mistake, react was also a mistake

    • @KumarKumar-fu2sh
      @KumarKumar-fu2sh 8 месяцев назад

      ​@@no1youknowzRSC and SA means?

  • @samuelzih7858
    @samuelzih7858 7 месяцев назад

    this style of your videos are the best;it makes you just focus more on the subject therefore explanation is much more better than worrying about looking in the camera;

  • @nextlevelbush1661
    @nextlevelbush1661 Месяц назад

    this video is spot on ngl ! that's what i have been thinking when i first started using NextJs it felt like am just developing some reactApp but just under a different name framework and that brought to my attention that am not using NextJs as its supposed to be used but instead i used it like it was just react

  • @hrvojematosevic8769
    @hrvojematosevic8769 8 месяцев назад +68

    So much work goes into every one of your videos, Adrian. Excellent job, keep it up!

  • @dharmeshtiwari09
    @dharmeshtiwari09 8 месяцев назад +7

    ❤ From India.... Took your react course and loved it
    Please keep next.js course affordable... Waiting for that..... Appreciate your hard work and simple explanation of complex topics... Really helpful content..

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +4

      I'll try to make it as affordable as possible!

    • @dharmeshtiwari09
      @dharmeshtiwari09 8 месяцев назад

      I bought the course Adrian and loving it... Thanks for making such amazing content in that affordable price.... And bonuses are amazing ❤

    • @dharmeshtiwari09
      @dharmeshtiwari09 8 месяцев назад

      I need to learn MERN fullstack... Can you please do more of MERN fullstack youtube videos and even better if you can make an amazing MERN fullstack course just as in depth as Next 13.5 course is (and affordable too 🙂) ... That would really be helpful... Thanks in advance ❤👍

  • @souvikhalder1510
    @souvikhalder1510 8 месяцев назад

    You don't have to care about those negative comments, we love you Adrian , keep going ❤ , we know how much knowledge you've

  • @5HJhbcLKqcA
    @5HJhbcLKqcA 8 месяцев назад +1

    You are the best mate. Don't mind with that type of people, keep up your excelent work! ⚡⚡

  • @hamadbakeel1951
    @hamadbakeel1951 8 месяцев назад +1

    Professionally explained with simple terms and great info flow
    From Yemen, Huge love for all your efforts.

  • @tauqeerhusain7521
    @tauqeerhusain7521 8 месяцев назад +3

    You make me a day better with next js ❤

  • @mohamedmrabet4814
    @mohamedmrabet4814 8 месяцев назад +1

    Probably one of the few, if not the only video, that really addresses this issue. I have seen tons of videos making their uppermost component a client component, basically making the whole application a client side application, which is not really what we're aiming for with the new App Router.
    If anyone has found a way to efficiently implement a user authentication and routing mechanism on a Server Component, therefore without implementing a context provider at the topmost component, throw me a comment. I would greatly appreciate.

  • @abenjamin13
    @abenjamin13 8 месяцев назад

    Just going put this here.
    I appreciate this video 🫵
    Thank you 🙏.
    It has been needed. ✅

  • @juneketchum787
    @juneketchum787 8 месяцев назад +5

    Your work is amazing, it always helps a lot 🔥 i was wondering if you're planning to make any LMS canvas like related project in future

  • @ugyenofficial
    @ugyenofficial 8 месяцев назад +1

    Waiting for the next js course sir. And thank you for the video. My doubts are being cleared by this video

  • @sujoyghosh7152
    @sujoyghosh7152 8 месяцев назад +2

    This video was really important!
    I always had this doubt in my mind that if we are anyways using hooks in component then how this page can load on the server. I broke the components just like you, still wasn't fully sure whether its the right way to write code or not!
    Thanks a ton for this video ❤
    Another video request: if possible please create some projects based on event based architecture

  • @Sindoku
    @Sindoku 7 месяцев назад +6

    Also, technically speaking, react is just a small library that compares code using a diffing algorithm to do so efficiently. Other libraries like react dom are makes it usable in the browser. Going a step further, react router allows you to do navigation. All these packages and some others create a react ecosystem, aka a framework. NextJS is just Vercels approach at doing the same thing that many devs have already been doing with CRA and the packages listed above (and others). That said, NextJS does so very effectively, but it’s heavily opinionated on how you should code, which can be good, but can also be bad. It’s the same reason Ruby on Rails was so popular for a while, only to be thought of as “bad” down the road for beginners because it had so many abstractions that a beginner couldn’t actually learn (without great difficulty) what RoR was doing behind the scenes. Now it seems we’ve cycled back around and RoR style frameworks are popular again. Granted react only covers the UI. I could also talk about newer devs choosing to learn express over RoR too in order to cover the backend technologies.

    • @erickpruneda923
      @erickpruneda923 2 месяца назад

      hi there! im interested in making fullstack projects. i was dealing with express for the apis, but i nextjs caught my attention bc i saw that it can handle both sides. do you personally recommend it??

  • @sungo9664
    @sungo9664 8 месяцев назад +3

    You are the greatest Teacher for that and I hope that I understand your course. English is very hard for me as a German.

  • @mlnima
    @mlnima 8 месяцев назад +2

    I spent 3 months to convert my old Nextjs CMS project to server component but now I like it

  • @parlor3115
    @parlor3115 8 месяцев назад

    This has been my suspicion all along. Thank you for confirming this to me 👏

  • @HarshalHirve555
    @HarshalHirve555 8 месяцев назад +1

    Completely understand and agree 👍 Thanks for the video 🎉

  • @hamzaakhun
    @hamzaakhun 8 месяцев назад +1

    Love you so much for such wonderful work.

  • @oluwatobioluwatosin9423
    @oluwatobioluwatosin9423 8 месяцев назад +1

    Awesome... and yes anticipating the video!!

  • @moveonvillain1080
    @moveonvillain1080 8 месяцев назад +2

    Would love a series on thinking the NEXT way.. Like it could have various scenarios one would encounter during development.. say auth or registration... Data that updates very frequently etc

  • @iannjoroge
    @iannjoroge 8 месяцев назад

    I posted this on Reddit to genuinely understand, not to stir up . Thank you for the explanation

  • @mindbodyps
    @mindbodyps 8 месяцев назад +2

    And it's happening, Next 13 is growing at rapid pace here in India.
    Every company is now using it.

  • @channelinprogress446
    @channelinprogress446 8 месяцев назад +5

    Love the animations! Even tho I understand it means more work to put in the video. Do a couple tests and pick what suits you better for performance on your side and results! Re-use the most animation you can to boost up the editing time.
    At this point, you shouldn't be surprised to be a voice for the Next community! You are also inspiring a ton of creators doing carbon copy of your content and brand, so what you do over here, ends up resonating in a lot of places.

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад

      Thank you for such a profound comment, highly appreciated!

  • @physicschemistry2190
    @physicschemistry2190 8 месяцев назад +1

    Great explanation sir . Excellent work , keep it up

  • @ankitgupta7467
    @ankitgupta7467 8 месяцев назад +1

    The video we need , Thanks Adrian❤

  • @ahmadbilalfarooqi5731
    @ahmadbilalfarooqi5731 8 месяцев назад +1

    adrian....you explained very well about next.js 13

  • @filipevalentegomes2383
    @filipevalentegomes2383 8 месяцев назад +5

    I only use Next, so I’m always server rendering focused, the problem is that nowadays almost every site uses, GSAP or framer motion. Even if you create components to handle anything that needs to be client based, you’ll have more than half the page that can’t be read by Google, so it’s a huge problem anyways. Unless you have a workaround for using an animation library, without using client rendering, there is not much you can do

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +1

      Great point. Adapting to animations is definitely something that'll have to be addressed better.

  • @safwenronaldo
    @safwenronaldo 6 месяцев назад

    seriously amazing video, thanks a lot

  • @Erbond12
    @Erbond12 3 месяца назад

    I know this video is a bit old, but it helped me to understand this a bit confusing concept! Thank you.
    As one improvement, I would add a visual view of the coding example.. as I had not that much of an understanding yet of all the components and had to really focus and read carefully to understand what is doing what and what is missing when doing ssr vs. no ssr.
    Maybe highlight what could be done on the server in the first code and show the ui to get even those with little knowledge like me to understand easier.
    But otherwise, it's a very good video andunderstanable.. much love from Germany ❤️

  • @Thassalocracy
    @Thassalocracy 8 месяцев назад +4

    I've used Remix for a project before and what this guy says is very much true. SSR practically eliminates the need for client side hooks like useState, useEffect, useContext, useReducer etc. Why would you manipulate data with state when you can just send any data you get to server for validation/storage? Likewise with fetching data, Remix doesn't even use useEffect for that. These full stack React frameworks have transformed the way to render data with components.

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +1

      Exactly!

    • @thorw2136
      @thorw2136 8 месяцев назад +2

      Well these hooks allow/simplify ui to be updated and performing complex and interactive ui based on events and user inputs .
      if I have to make round trip to server for each ui update what's the point of react , I can do the same with classic html and css and little js and write all logic at server right ? Am I missing something?

    • @Thassalocracy
      @Thassalocracy 8 месяцев назад

      @@thorw2136 in my experience, for such cases the hook that I would use at the most would be useState, that's all. I wouldn't use any other state management more complex than useState. Use useState to conditionally render UIs, show warning text etc. For anything else that involves data validation, that's the responsibility of the backend, the raison d'etre of Next js and Remix.

  • @ahmadbilalfarooqi5731
    @ahmadbilalfarooqi5731 8 месяцев назад +1

    i have learned more from your videos
    your content is awesome

  • @vadneydasilva230
    @vadneydasilva230 8 месяцев назад +4

    Please make a video showing how you built your website... Thanks in advance and thanks for all the tips you have given through this channel... :)

  • @okunadefemijoel7890
    @okunadefemijoel7890 8 месяцев назад +1

    I can't wait. Thanks in advance

  • @devLooney
    @devLooney 8 месяцев назад +1

    Thank you! Much informative.

  • @business-addict
    @business-addict 8 месяцев назад

    Please make the most advanced tutorial u can think of,
    I have learned so much of the beginner information from you, but I think I speak for everyone, when I say, we want to learn more so we can build better.

  • @profglac
    @profglac 6 месяцев назад

    Wonderful video! What tools did you use for editing? I love your channel!

  • @NdondoMicheal
    @NdondoMicheal 8 месяцев назад +2

    BOOM 💥💥 Best Nextjs explanation video.

  • @nabeelmirza8801
    @nabeelmirza8801 8 месяцев назад +8

    Thanks, this explanation was real helpful. Why? Because in the sub reddit I thought it was a joke but thankfullly you posted about it.

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +3

      Glad to hear that, that was the main reason why I decided to make it.

    • @nabeelmirza8801
      @nabeelmirza8801 8 месяцев назад +3

      Whoa, how can a single video get so many likes and comments. You are very inspiring

  • @jooncco
    @jooncco 8 месяцев назад

    Points made crystal clear ✨

  • @salmanpatrick
    @salmanpatrick 8 месяцев назад +1

    Another moral of this video is that , if you can make your website faster , with better SEO and user experience then why not doing it and just keep sticking to the client side and hating Next JS and server components. So many benefits.

  • @watchnow4211
    @watchnow4211 8 месяцев назад +1

    Thanks for clarifying. We are waiting for the video

  • @StefanoBallad
    @StefanoBallad 8 месяцев назад

    Thank you! Great video!

  • @yousafsabir7
    @yousafsabir7 6 месяцев назад

    you're exactly right. I myself still haven't got used to the way of nextjs and I do it in react way which I know I'm not using nextjs for it was meant to be

  • @EricFernandoMosqueraVelandia
    @EricFernandoMosqueraVelandia 8 месяцев назад +1

    Excellent job buddy!

  • @joel9909
    @joel9909 8 месяцев назад

    Such a smart teacher.

  • @digredeth
    @digredeth 8 месяцев назад

    I really want that video. Really good explanation

  • @AsifSaifuddinAuvipy
    @AsifSaifuddinAuvipy 7 месяцев назад

    They are going back to the traditional server side Frameworks. Nice explanation. It now released v14

  • @red8599
    @red8599 8 месяцев назад +1

    amazing as always 🥰🥰🥰

  • @specex
    @specex 6 месяцев назад

    Great explanation. .Net developers have a somewhat similar learning curve in dealing with the Blazor framework.

  • @SelfTalk0
    @SelfTalk0 23 дня назад

    You are the best ! You exlplained it too well !

  • @ibrahimaziz224
    @ibrahimaziz224 8 месяцев назад

    You make a lot of sense man

  • @richardleungwoogabriel9317
    @richardleungwoogabriel9317 8 месяцев назад +1

    Adrian! You the man! ❤

  • @Kamilek96
    @Kamilek96 7 месяцев назад

    I'm so glad that I switched to backend and I work with well established and mature tehnologies ohh :3

  • @thegreatben27
    @thegreatben27 8 месяцев назад +4

    Thank you so much abdrian. Really appreciate your sincere sacrifices. ❤❤❤. Is the team still working on the remainder chapters of the next.js Ebook?

  • @mohamed-zhioua
    @mohamed-zhioua 8 месяцев назад

    When you build your next app, you will notice the existing of js first load, as much the js is big, as much your app page will need time to be executed... This way you will notice how much this video is needed to explain that you have to apply your react in a next level to get the next js framework added benefits as react is just a outil not the framework

  • @tenj
    @tenj 4 месяца назад

    Very valuable information thank you ❤

  • @michaelwilson367
    @michaelwilson367 3 месяца назад

    Something I wish I would see more is a youtube tutorial on migrating an existing project to new/better technology. It seems like every single tutorial is just "this is how you create a thing from scratch using the newest framework" but what if I already have a huge React project and want to start using Next on it to improve page loading time? I am not going to just abandon my whole project and start a new one.

  • @marroos5440
    @marroos5440 8 месяцев назад +6

    I was learning React for couple of months, now i am learning Next.jS for about 3 weeks, and i am in love with Next.js. I know main difference between CSR and SSR, you've even explained it very well, but can i understand it the way, that CSR for React means it's purely for front-end, and when i want to add back-end to my app, i must use other options, such as express js. While SSR in Next.js means, it offers me way of creating back-end routes in my app in API folder, so basically it's built for creating full-stack apps. I am not very experienced, but why then use React to create pure front-end, when Next.js can create same front-end and as a bonus offers many more options (creating back-end to make it full stack, seo optimization, images optimization, easy routing). Why would anyone pick React, when Next.js can create what React creates, but offers many more great features? Sadly, in my country there are few to none Next.js job offers, it seems they did not "find" Next.js yet, so i guess i'll have to stick to React, if i want to land a job, even personally i like Next.js more. Thanks

    • @Zechey
      @Zechey 8 месяцев назад

      I think sticking with nextjs is fine, if you know nextjs you definitely know react too

    • @frankestradag9474
      @frankestradag9474 7 месяцев назад

      Well sometimes you want to use react as a light front end because react alone is still really good and as a backend option use another thing like, django,java spring or php, also with react you can work with react native, so dont undermine vainilla react too soon

  • @mb-dev06
    @mb-dev06 7 месяцев назад

    You are a beast!

  • @20MrAmir01
    @20MrAmir01 8 месяцев назад

    I want to learn next.js completely . which courses from RUclips are good?

  • @bryanlee5522
    @bryanlee5522 3 месяца назад

    The setup I used on my last project was I retrieved initial data server side and passed it into my client side which uses SWR to revalidate. SWR can then handle updates that happen from the user. For the most part the server side data fetching isn't completely necessary since SWR would work anyway without initial data but does bolster the accuracy and speed of the data given all possible situations. That's at least my understanding of it as of now.
    SWR handles client-side caching, which means that once data is fetched, it's stored in the cache and is quickly available for subsequent requests.
    - On a page refresh, the cache is cleared, which means SWR has to fetch the data again. This can lead to a delay in rendering if not handled correctly.
    - Using `initialData` from the server-side can provide an immediate fallback for SWR, ensuring that data is always available, even if the cache is cleared.

  • @areebtariq6755
    @areebtariq6755 8 месяцев назад

    Well in short , react is CSR Development , and Next can offers both SSR and CSR.
    Now it's just up to you that you need SSR or not.

  • @jnayehsirine6222
    @jnayehsirine6222 7 месяцев назад

    GREAT WORK !!!!

  • @thachnnguyen
    @thachnnguyen 8 месяцев назад +2

    Hey, please do a video of your website. I'm interested. I like your videos because 1. it shows you actually plan out what to present, thus not wasting time, and 2. they're detailed and easy to follow.
    Here's the thing. Client-server architecture has been around for ages. In fact, server side is all there was in the beginning (thus, dumb terminals). Over time clients get more powerful and stuff began to be shifted to the client. So, there should always be a mix between what's done on the client and what's done on the server. What, then? It's not as clear cut as what you suggested: what has to be on the client. Take the more interesting case of a busy server. If you do everything on the server, you tax it too much, so some clients will enjoy the fast response while others will have to wait. Thus, you want to be selfish: offload some of the duty to the client so you can serve more clients. The ultimate goal is you want the connection (not cheap on the server side) on the server to return as soon as possible so you can serve more clients. That should be the goal. Just think about it: why browsers over time have evolved to be able to do more things.
    As far as a bunch of front end developers mocking you, ignore most of them, since lots (if not most) of them don't even know what CS stands for, or what algorithm means.

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад

      Couldn't agree more. The goal of this video is to clarify things for developers of newer generations.

  • @siriusmain1763
    @siriusmain1763 2 месяца назад +1

    Can’t believe I’ve spent 17 mins to watch an ad for a nextjs course 🤣

    • @javascriptmastery
      @javascriptmastery  Месяц назад

      It was never meant to be an ad. Rather an educational/informational video. Did you get something from it?

  • @user-em2dx4wj4p
    @user-em2dx4wj4p 7 месяцев назад

    very nice explained !!

  • @stonedizzleful
    @stonedizzleful 8 месяцев назад

    Great summary.

  • @abhirajgawai505
    @abhirajgawai505 8 месяцев назад +1

    Thank you so much for the clear explanation.. Please explain how you created the js mastary page.

  • @purpathak
    @purpathak 8 месяцев назад

    Your advice on learning language specific syntax ? Which tutorials do I use. As I want to spend most of my time building any short suntax tutorial yt channels u can recommend maybe make a video or just reply

  • @AlgorithmDoctor
    @AlgorithmDoctor 8 месяцев назад +2

    I will personally buy the course for myself and my daughter. ❤

  • @parassharma7041
    @parassharma7041 8 месяцев назад +1

    Very helpful video thank you❤😊

  • @ahbegnueg
    @ahbegnueg 8 месяцев назад +3

    I know that I won‘t be able to buy the course… As a student with zero money, and living just with the parents money 😢 But I would love to have access to it, I know it will be PERFECT, just because it is you

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад +3

      We'll try to make it as affordable as possible!

  • @visitorX302
    @visitorX302 8 месяцев назад +2

    Adrian.. thanks for this clear and what about talking about nestjs

  • @babelette
    @babelette 6 месяцев назад +2

    As a full-stack PHP developer... let me tell you we been doing this for ages, using PHP for server-side and JS/JQuery for frontend with ajax for dynamic content... so this new-age full stack making a circle to where we were 15 years back....

  • @jyothiswaroop2964
    @jyothiswaroop2964 8 месяцев назад +1

    We need that video Adrian!

  • @TheBlackmanIsGod
    @TheBlackmanIsGod 8 месяцев назад

    Please show us how you built your site mostly on the server side!?

  • @Vandetho
    @Vandetho 5 месяцев назад

    For me nextjs is just a react server. Since it is possible to combine nestjs for backend, nextjs for frontend with Nextauth for authentication using jwt and refresh token. With this you have a ready to scale complete Saas

  • @ohhjepoy
    @ohhjepoy 8 месяцев назад +1

    Eventually i will learn them all 😁

  • @clunkeys
    @clunkeys 8 месяцев назад +2

    I'm 100% into learning Next. But I want to know if this course is right for me.
    1. I know basic Javascript
    2. I'm 2 days into learning React
    Will I be able to grasp the contents provided in the course as an overall beginner? I'd really appreciate it if you could reply to this. Thanks in advance

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад

      You should dedicate some more time to learning React. Go through our RUclips crash course.

  • @hooooman.
    @hooooman. 8 месяцев назад +1

    so as a beginner in react, when should i start learning next js? only after becoming proficient in react?

  • @djohn0909
    @djohn0909 8 месяцев назад +1

    I'm not sure but since the clients' systems are only getting better every day. By continuing that approach, we can off-load all these renderings from the server and just let it handle the backend data ops and other backend communications & processing. Just like mobile apps, anyway difference between Mobile apps & web apps is just fading away but using NEXT.js seems to be taking us back from where we started.
    We are not in the 2000s anymore, where client systems are weak or not really capable. Yes, I agree with the SEO & related stuff (last time I checked were better on SSRs).
    I still prefer keeping my FE and BE separate, 'Separation of concerns'. Maybe lack of experience or knowledge but as of today, I still advocate for CSR. Possibly, when I delve further, preferences might change.

    • @javascriptmastery
      @javascriptmastery  8 месяцев назад

      Valid points, I had similar thoughts, but after diving into it deeper, the advantages are huge. Another video coming live on RUclips today, and a full course on 22nd of September

  • @vickonsscope6477
    @vickonsscope6477 8 месяцев назад

    I totally agree with all that you said... But!!.. I really don't like the strict one page loading features in Nextjs.. If you want to display a Loader Skeleton for a particular component, You would be forced to use the old method of client side fetching. I might be wrong though, if there is an alternative, I would be glad to be informed.